package com.mybatis.service.impl;

import com.mybatis.mapper.MybatisMapper;
import com.mybatis.pojo.Mybatis;
import com.mybatis.service.MybatisService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class MybatisServiceImpl implements MybatisService {

    @Resource
    private MybatisMapper mybatisMapper;

    @Override
    public List<Mybatis> findAll() {
       return mybatisMapper.findAll();
    }


}
